[INFO] cloning repository https://github.com/idelgado-tech/RusTracer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/idelgado-tech/RusTracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidelgado-tech%2FRusTracer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidelgado-tech%2FRusTracer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a2375080611a196fdcebdd6fece4c9abda7b35b0
[INFO] checking idelgado-tech/RusTracer against try#d57d2d63e6f308d854fedbafd91d7721b7c651af for pr-110141
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidelgado-tech%2FRusTracer" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/idelgado-tech/RusTracer on toolchain d57d2d63e6f308d854fedbafd91d7721b7c651af
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d57d2d63e6f308d854fedbafd91d7721b7c651af" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/idelgado-tech/RusTracer
[INFO] finished tweaking git repo https://github.com/idelgado-tech/RusTracer
[INFO] tweaked toml for git repo https://github.com/idelgado-tech/RusTracer written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/idelgado-tech/RusTracer already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d57d2d63e6f308d854fedbafd91d7721b7c651af" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d57d2d63e6f308d854fedbafd91d7721b7c651af" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c12e671da4863d791ee09319517454528768431db0cef479482b43e3c48b8dfe
[INFO] running `Command { std: "docker" "start" "-a" "c12e671da4863d791ee09319517454528768431db0cef479482b43e3c48b8dfe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c12e671da4863d791ee09319517454528768431db0cef479482b43e3c48b8dfe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c12e671da4863d791ee09319517454528768431db0cef479482b43e3c48b8dfe", kill_on_drop: false }`
[INFO] [stdout] c12e671da4863d791ee09319517454528768431db0cef479482b43e3c48b8dfe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d57d2d63e6f308d854fedbafd91d7721b7c651af" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 089062c10db50345f62988fa85940f7c0be8ec7bfd507301863fa30a4f89d6e1
[INFO] running `Command { std: "docker" "start" "-a" "089062c10db50345f62988fa85940f7c0be8ec7bfd507301863fa30a4f89d6e1", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling pkg-config v0.3.24
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling xml-rs v0.8.4
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling clang-sys v1.3.0
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling quote v1.0.14
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling wayland-scanner v0.28.6
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling unicode-width v0.1.9
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling wayland-sys v0.28.6
[INFO] [stderr]    Compiling libloading v0.7.2
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling bindgen v0.56.0
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]     Checking nix v0.20.2
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]    Compiling wayland-client v0.28.6
[INFO] [stderr]    Compiling nom v7.1.0
[INFO] [stderr]     Checking once_cell v1.9.0
[INFO] [stderr]     Checking smallvec v1.7.0
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling cexpr v0.4.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling env_logger v0.8.4
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]     Checking downcast-rs v1.2.0
[INFO] [stderr]    Compiling syn v1.0.84
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]    Compiling wayland-protocols v0.28.6
[INFO] [stderr]    Compiling x11-dl v2.19.1
[INFO] [stderr]     Checking wayland-commons v0.28.6
[INFO] [stderr]    Compiling cc v1.0.72
[INFO] [stderr]     Checking cty v0.2.2
[INFO] [stderr]     Checking raw-window-handle v0.4.2
[INFO] [stderr]     Checking xcursor v0.3.4
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]     Checking wayland-cursor v0.28.6
[INFO] [stderr]    Compiling minifb v0.20.0
[INFO] [stderr]     Checking tempfile v3.2.0
[INFO] [stderr]     Checking raw-window-handle v0.3.4
[INFO] [stderr]    Compiling xkbcommon-sys v0.7.5
[INFO] [stderr]     Checking xkb v0.2.1
[INFO] [stderr]    Compiling uuid-macro-internal v1.1.2
[INFO] [stderr]     Checking uuid v1.1.2
[INFO] [stderr]     Checking rustracer v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0574]: expected struct, variant or union type, found trait `Shape`
[INFO] [stdout]   --> src/shape.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         Shape {
[INFO] [stdout]    |         ^^^^^ not a struct, variant or union type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `transformation`
[INFO] [stdout]  --> src/ray.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     transformation,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `matrix::Matrix`
[INFO] [stdout]  --> src/reflection.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{color::*, matrix::Matrix, ray::reflect, tuple::Tuple};
[INFO] [stdout]   |                       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error::Error`, `fmt`, `iter`
[INFO] [stdout]  --> src/world.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{error::Error, fmt, iter};
[INFO] [stdout]   |           ^^^^^^^^^^^^  ^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/world.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 |     reflection::{self, lighting, Material, PointLight},
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `matrix::*`, `transformation`
[INFO] [stdout]  --> src/shape.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     matrix::*,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 6 |     reflection::Material,
[INFO] [stdout] 7 |     transformation,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `matrix::Matrix`
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use matrix::Matrix;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `WindowOptions`, `Window`
[INFO] [stdout]   --> src/main.rs:22:19
[INFO] [stdout]    |
[INFO] [stdout] 22 | use minifb::{Key, Window, WindowOptions};
[INFO] [stdout]    |                   ^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Ray`, `hit_intersections`, `intersect`
[INFO] [stdout]   --> src/main.rs:29:11
[INFO] [stdout]    |
[INFO] [stdout] 29 |     ray::{hit_intersections, intersect, Ray},
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^  ^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/shape.rs:42:26
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn intersect(shape: &Shape, ray: Ray) -> Vec<Intersection>;
[INFO] [stdout]    |                          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn intersect(shape: &dyn Shape, ray: Ray) -> Vec<Intersection>;
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/shape.rs:20:19
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn Shape() -> Shape {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn Shape() -> dyn Shape {
[INFO] [stdout]    |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0574]: expected struct, variant or union type, found trait `Shape`
[INFO] [stdout]   --> src/shape.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         Shape {
[INFO] [stdout]    |         ^^^^^ not a struct, variant or union type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils`
[INFO] [stdout]    --> src/matrix.rs:210:9
[INFO] [stdout]     |
[INFO] [stdout] 210 |     use crate::utils;
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `transformation`
[INFO] [stdout]  --> src/ray.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     transformation,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `matrix::Matrix`
[INFO] [stdout]  --> src/reflection.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{color::*, matrix::Matrix, ray::reflect, tuple::Tuple};
[INFO] [stdout]   |                       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error::Error`, `fmt`, `iter`
[INFO] [stdout]  --> src/world.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{error::Error, fmt, iter};
[INFO] [stdout]   |           ^^^^^^^^^^^^  ^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/world.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 |     reflection::{self, lighting, Material, PointLight},
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `matrix::*`, `transformation`
[INFO] [stdout]  --> src/shape.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     matrix::*,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 6 |     reflection::Material,
[INFO] [stdout] 7 |     transformation,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/shape.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::transformation`
[INFO] [stdout]   --> src/shape.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     use crate::transformation;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f64::consts::PI`
[INFO] [stdout]   --> src/shape.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     use std::f64::consts::PI;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `matrix::Matrix`
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use matrix::Matrix;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `WindowOptions`, `Window`
[INFO] [stdout]   --> src/main.rs:22:19
[INFO] [stdout]    |
[INFO] [stdout] 22 | use minifb::{Key, Window, WindowOptions};
[INFO] [stdout]    |                   ^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Ray`, `hit_intersections`, `intersect`
[INFO] [stdout]   --> src/main.rs:29:11
[INFO] [stdout]    |
[INFO] [stdout] 29 |     ray::{hit_intersections, intersect, Ray},
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^  ^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `Shape` cannot be made into an object
[INFO] [stdout]   --> src/shape.rs:20:19
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn Shape() -> Shape {
[INFO] [stdout]    |                   ^^^^^ `Shape` cannot be made into an object
[INFO] [stdout]    |
[INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety>
[INFO] [stdout]   --> src/shape.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub trait Shape {
[INFO] [stdout]    |           ----- this trait cannot be made into an object...
[INFO] [stdout] 42 |     fn intersect(shape: &Shape, ray: Ray) -> Vec<Intersection>;
[INFO] [stdout]    |        ^^^^^^^^^ ...because associated function `intersect` has no `self` parameter
[INFO] [stdout] help: consider turning `intersect` into a method by giving it a `&self` argument
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn intersect(&self, shape: &Shape, ray: Ray) -> Vec<Intersection>;
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] help: alternatively, consider constraining `intersect` so it does not apply to trait objects
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn intersect(shape: &Shape, ray: Ray) -> Vec<Intersection> where Self: Sized;
[INFO] [stdout]    |                                                                +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `Shape` cannot be made into an object
[INFO] [stdout]   --> src/shape.rs:42:26
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn intersect(shape: &Shape, ray: Ray) -> Vec<Intersection>;
[INFO] [stdout]    |                          ^^^^^ `Shape` cannot be made into an object
[INFO] [stdout]    |
[INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety>
[INFO] [stdout]   --> src/shape.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub trait Shape {
[INFO] [stdout]    |           ----- this trait cannot be made into an object...
[INFO] [stdout] 42 |     fn intersect(shape: &Shape, ray: Ray) -> Vec<Intersection>;
[INFO] [stdout]    |        ^^^^^^^^^ ...because associated function `intersect` has no `self` parameter
[INFO] [stdout] help: consider turning `intersect` into a method by giving it a `&self` argument
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn intersect(&self, shape: &Shape, ray: Ray) -> Vec<Intersection>;
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] help: alternatively, consider constraining `intersect` so it does not apply to trait objects
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn intersect(shape: &Shape, ray: Ray) -> Vec<Intersection> where Self: Sized;
[INFO] [stdout]    |                                                                +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/shape.rs:42:26
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn intersect(shape: &Shape, ray: Ray) -> Vec<Intersection>;
[INFO] [stdout]    |                          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn intersect(shape: &dyn Shape, ray: Ray) -> Vec<Intersection>;
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/shape.rs:20:19
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn Shape() -> Shape {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn Shape() -> dyn Shape {
[INFO] [stdout]    |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0038, E0574.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0038`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustracer` (bin "rustracer") due to 4 previous errors; 10 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0038]: the trait `Shape` cannot be made into an object
[INFO] [stdout]   --> src/shape.rs:20:19
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn Shape() -> Shape {
[INFO] [stdout]    |                   ^^^^^ `Shape` cannot be made into an object
[INFO] [stdout]    |
[INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety>
[INFO] [stdout]   --> src/shape.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub trait Shape {
[INFO] [stdout]    |           ----- this trait cannot be made into an object...
[INFO] [stdout] 42 |     fn intersect(shape: &Shape, ray: Ray) -> Vec<Intersection>;
[INFO] [stdout]    |        ^^^^^^^^^ ...because associated function `intersect` has no `self` parameter
[INFO] [stdout] help: consider turning `intersect` into a method by giving it a `&self` argument
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn intersect(&self, shape: &Shape, ray: Ray) -> Vec<Intersection>;
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] help: alternatively, consider constraining `intersect` so it does not apply to trait objects
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn intersect(shape: &Shape, ray: Ray) -> Vec<Intersection> where Self: Sized;
[INFO] [stdout]    |                                                                +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `Shape` cannot be made into an object
[INFO] [stdout]   --> src/shape.rs:42:26
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn intersect(shape: &Shape, ray: Ray) -> Vec<Intersection>;
[INFO] [stdout]    |                          ^^^^^ `Shape` cannot be made into an object
[INFO] [stdout]    |
[INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety>
[INFO] [stdout]   --> src/shape.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub trait Shape {
[INFO] [stdout]    |           ----- this trait cannot be made into an object...
[INFO] [stdout] 42 |     fn intersect(shape: &Shape, ray: Ray) -> Vec<Intersection>;
[INFO] [stdout]    |        ^^^^^^^^^ ...because associated function `intersect` has no `self` parameter
[INFO] [stdout] help: consider turning `intersect` into a method by giving it a `&self` argument
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn intersect(&self, shape: &Shape, ray: Ray) -> Vec<Intersection>;
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] help: alternatively, consider constraining `intersect` so it does not apply to trait objects
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn intersect(shape: &Shape, ray: Ray) -> Vec<Intersection> where Self: Sized;
[INFO] [stdout]    |                                                                +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0038, E0574.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0038`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustracer` (bin "rustracer" test) due to 4 previous errors; 14 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "089062c10db50345f62988fa85940f7c0be8ec7bfd507301863fa30a4f89d6e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "089062c10db50345f62988fa85940f7c0be8ec7bfd507301863fa30a4f89d6e1", kill_on_drop: false }`
[INFO] [stdout] 089062c10db50345f62988fa85940f7c0be8ec7bfd507301863fa30a4f89d6e1
